package com.ma.server;

import com.ma.entity.Teacher;
import com.ma.entity.TeacherVO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ProjectName: project
 * @Package: com.ma.server
 * @ClassName: TeacherServer
 * @Author: YHHHH
 * @Description:
 * @Date: 2021/3/29 16:36
 * @Version: 1.0
 */

public interface TeacherServer {
    /*
    老师登陆
    */
    TeacherVO loginTeacher(Integer id);
    /*
    返回老师的详细信息
     */
    Teacher teacherData(Integer id);
    /*
    找到老师的专业
     */
    Integer findTeacherMajor(Integer id);
}
